package com.ctjsoft.fileupload.server;

import com.ctjsoft.fileupload.entity.TBucketServer;
import com.ctjsoft.fileupload.entity.TMinioServer;

import java.util.List;

public interface TBucketServerService {

    List<TBucketServer> getBucketList();

    int addBucket(TBucketServer tBucketServer);

    int updateBucket(TBucketServer tBucketServer);

    int deleteBucket(String id);

    TBucketServer getBucketById(String id);

    TBucketServer getBucketByName(String serverName);
}
